//
//  ZLFontExtension.swift
//  ZLExtension
//
//  Created by lxhd on 2025/4/16.
//

/// 快捷方式
public func ZLFont(font: CGFloat, weight: UIFont.Weight = .regular) -> UIFont {
    return UIFont.zl_font(font: font, weight: weight)
}

public extension UIFont {
    static func zl_font(font: CGFloat, weight: UIFont.Weight = .regular) -> UIFont {
        return UIFont.systemFont(ofSize: font, weight: weight)
    }
}
